package day07;

public class PrimeNumber2 {
    public static void main(String[] args) {
        for (int i =2;i<=100;i++){
            boolean flag= true;
            for (int num =2;num<=i/2;num++){
                if (i%num==0){
                    flag = false;
                    break;
                }
            }
            if (flag){
                System.out.println(i+"是整数");
            }
        }
    }
}
